Lua/Client/Player/Functions/GetHealth
From JC2-MP Documentation
| Returns | number |
|---|---|
| Prototype | Player:GetHealth() |
| Description | No description |
Description
Returns the player's health, as a percentage of maximum health between 0 and 1. If the player's maximum health has been increased, such as by firing the "ply.armorpart.add" Game Event, 1 corresponds to the new maximum, not the default maximum.